package include;

public class CarTest {
	public static void main(String[] args) {
		Engine e = new Engine("丰田", "z18",	1.8);
		
		Wheel w1 = new Wheel("固特异", 16);
		Wheel w2= new Wheel("米其林", 14);
		Wheel w3 = new Wheel("韩泰", 15);
		Wheel w4 = new Wheel("马牌", 16);
		
		Car car = new Car();
		car.setEngine(e);
		car.setWheels(new Wheel[] {w1,w2,w3,w4});
		car.showCarInfo();
	}
}
